<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	pageContext.setAttribute("basePath", basePath);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>智慧碎片 - 登录</title>
<link type="text/css" rel="stylesheet" href="${ basePath}css/style.css" />
<script type="text/javascript" src="${ basePath}scripts/function.js"></script>
</head>
<body>
<div id="header">
<div id="logo"><img src="${ basePath}images/logo.png" width="15px"
	height="20px" /> 智慧碎片系统管理后台</div>
</div>
<div id="register" class="wrap">
<div class="shadow"><em class="corner lb"></em> <em
	class="corner rt"></em>
<div class="box">
<h1>用户登录</h1>
<form id="loginForm" method="post"
	action="${ basePath}new/userAction!login.action"
	onsubmit="return checkForm(this)">
<table>
	<tr>
		<td class="field">用户名：</td>
		<td><input class="text" type="text" name="user.userName"
			onfocus="FocusItem(this)" onblur="CheckItem(this);" /><span></span></td>
	</tr>
	<tr>
		<td class="field">登录密码：</td>
		<td><input class="text" type="password" id="passWord"
			name="user.userPassword" onfocus="FocusItem(this)"
			onblur="CheckItem(this);" /><span></span></td>
	</tr>
	<tr>
		<td></td>
		<td><label class="ui-green"><input type="submit"
			name="submit" value="立即登录" /></label></td>
	</tr>
</table>
</form>
</div>
</div>
<div class="clear"></div>
</div>
<div id="footer">Copyright &copy; 2013 智慧碎片 All Rights Reserved.
京ICP证1000001号</div>
</body>
</html>

